/*
 * Copyright (c) 2020 hebeiyiliuba.com
 * All rights reserved.
 *
 */
package org.jeecg.modules.third.etc.waybillInfo.dto;

import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

import java.io.Serializable;

/**
 * 返回结果类
 *
 * @author duanlikao
 * @created 2021/1/28
 */
@Data
public class ApiResponseDTO implements Serializable {

    private static final long serialVersionUID = -2465140747749709626L;

    private Boolean success;
    /**
     * 操作成功	200
     * 操作失败	201
     * 网络异常	203
     * 没有权限	304
     * 运单已存在	306
     * 无此运单开始信息	308
     * 错误运单	309
     * 税号未备案	310
     * 余额不足	311
     * 超过规定时长	401
     */
    private Integer rcode;

    private String msg;
    /**
     * 添加公司标识后的运单编号
     */
    private String  waybillNum;
    /**
     * 车牌号码
     */
    private String plateNum	;

    /**
     * 运单状态:
     * 运单已结束	3
     * 开票中	4
     * 开票结束	5
     * 无发票	6
     */
    private Integer   waybillStatus	;
    /**
     * 运单开始时间
     */
    private String waybillStartTime	;
    /**
     * 运单结束时间
     */
    private String  waybillEndTime	;

    private T data;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Integer getRcode() {
        return rcode;
    }

    public void setRcode(Integer rcode) {
        this.rcode = rcode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getWaybillNum() {
        return waybillNum;
    }

    public void setWaybillNum(String waybillNum) {
        this.waybillNum = waybillNum;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public Integer getWaybillStatus() {
        return waybillStatus;
    }

    public void setWaybillStatus(Integer waybillStatus) {
        this.waybillStatus = waybillStatus;
    }

    public String getWaybillStartTime() {
        return waybillStartTime;
    }

    public void setWaybillStartTime(String waybillStartTime) {
        this.waybillStartTime = waybillStartTime;
    }

    public String getWaybillEndTime() {
        return waybillEndTime;
    }

    public void setWaybillEndTime(String waybillEndTime) {
        this.waybillEndTime = waybillEndTime;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }


}